<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>支付</title>
</head>
<body>
   <form action="/pay/order/pay" method="post">
    <input type="text" name="userId" th:value="${session.user.getId()}"> <br>
       <input type="text" name="uname" placeholder="用户名" th:value="${session.user.getName()}">  <br>
       <input type="text" name="goodsId" placeholder="商品id">  <br>
       <input type="text" name="gname" placeholder="商品名称">  <br>
       <input type="text" name="price" placeholder="商品价格"> <br>
       <input type="submit" value="下单" >
   </form>
</body>
</html>